<?php
/**
 *
 *
 * @Author: PanChaoZhi <phpzhi@qq.com>
 * @Created: 2019/11/21 10:39
 * @Updated: 2019/11/21 @Name:
 */

namespace app\index\controller;


use app\BaseController;

class Test extends BaseController
{

    public function index($name = 'gl')
    {
        echo "Hello, World. " .$name;
    }

    public function hello()
    {
        substr('PanChaoZhi', 0, 2, 'utf-8');
        var_dump('123');
    }
}